<!-- Nav tabs -->
<ul class="nav nav-tabs">
    @if ($option == 'detail')
        <li class="active"><a><strong>订单详情</strong></a></li>
    @else
        <li><a href="{{url("order/show/{$order->id}")}}"><strong>订单详情</strong></a></li>
    @endif

    @if ($option == 'offer')
        <li class="active"><a><strong>师傅报价</strong></a></li>
    @else
        <li><a href="{{url("order/showoffer/{$order->id}")}}"><strong>师傅报价（{{$order->offers->count()}}）</strong></a></li>
    @endif

    @if ($option == 'status')
        <li class="active"><a><strong>查看服务节点</strong></a></li>
    @else
        <li><a href="{{url("order/showstatus/{$order->id}")}}"><strong>查看服务节点</strong></a></li>
    @endif

    @if ($order->status->have_refund)
            @if ($option == 'refund')
                <li class="active"><a><strong>申请退款</strong></a></li>
            @else
                <li><a href="{{url("order/showrefund/{$order->id}")}}"><strong>申请退款</strong></a></li>
            @endif
    @endif

    @if ($order->status->have_arbitrate)
            @if ($option == 'arbitrate')
                <li class="active"><a><strong>介入仲裁</strong></a></li>
            @else
                <li><a href="{{url("order/showarbitrate/{$order->id}")}}"><strong>介入仲裁</strong></a></li>
            @endif
    @endif

    @if ($order->complain)
            @if ($option == 'complain')
                <li class="active"><a><strong>投诉处理</strong></a></li>
            @else
                <li><a href="{{url("order/showcomplain/{$order->id}")}}"><strong>投诉处理</strong></a></li>
            @endif
    @endif
</ul>